[INFO] cloning repository https://github.com/serega-fighter/rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/serega-fighter/rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserega-fighter%2Frust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserega-fighter%2Frust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f3a464e5eb919f6eee935bf0eb0f1f2edba59fbe
[INFO] checking serega-fighter/rust against try#e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserega-fighter%2Frust" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/serega-fighter/rust on toolchain e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/serega-fighter/rust
[INFO] finished tweaking git repo https://github.com/serega-fighter/rust
[INFO] tweaked toml for git repo https://github.com/serega-fighter/rust written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/serega-fighter/rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f2fa5a4492e297ff5f4dcf607732041336fff5456efb2911a3eff9ef33c4b844
[INFO] running `Command { std: "docker" "start" "-a" "f2fa5a4492e297ff5f4dcf607732041336fff5456efb2911a3eff9ef33c4b844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f2fa5a4492e297ff5f4dcf607732041336fff5456efb2911a3eff9ef33c4b844", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2fa5a4492e297ff5f4dcf607732041336fff5456efb2911a3eff9ef33c4b844", kill_on_drop: false }`
[INFO] [stdout] f2fa5a4492e297ff5f4dcf607732041336fff5456efb2911a3eff9ef33c4b844
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 06d9c15403520e4db51e603e25d60e2456212ee29b3ca7a6c9e49a88b35817a6
[INFO] running `Command { std: "docker" "start" "-a" "06d9c15403520e4db51e603e25d60e2456212ee29b3ca7a6c9e49a88b35817a6", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling libc v0.2.103
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking rust-workspace v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found keyword `match`
[INFO] [stdout]   --> src/basic/match_test.rs:40:56
[INFO] [stdout]    |
[INFO] [stdout] 40 |     println!("Value: {}", value_in_cents(Coin::Nickel))
[INFO] [stdout]    |                                                        ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 50 |     match code {
[INFO] [stdout]    |     ----- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]  --> src/basic/option_test.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     if (x > 5) {
[INFO] [stdout]   |        ^     ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 3 -     if (x > 5) {
[INFO] [stdout] 3 +     if x > 5 {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/basic/collections/stack.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn new() -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `peek` is never used
[INFO] [stdout]   --> src/basic/collections/stack.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/basic/option_test.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let value = result.expect("There is no value");
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/basic/generics/trait_test.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn say_hello(out: &mut Write) -> std::io::Result<()> {
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 4 - fn say_hello(out: &mut Write) -> std::io::Result<()> {
[INFO] [stdout] 4 + fn say_hello(out: &mut dyn Write) -> std::io::Result<()> {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `code` in this scope
[INFO] [stdout]   --> src/basic/match_test.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 |     match code {
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/basic/generics/trait_test.rs:11:51
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub fn main() {
[INFO] [stdout]    | ------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 10 |
[INFO] [stdout] 11 |     let mut local_file = File::create("hello.txt")?;
[INFO] [stdout]    |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/basic/generics/trait_test.rs:12:31
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub fn main() {
[INFO] [stdout]    | ------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     say_hello(&mut local_file)?;
[INFO] [stdout]    |                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/basic/generics/trait_test.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub fn main() {
[INFO] [stdout]    | ------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 15 |     say_hello(&mut bytes)?; // also works
[INFO] [stdout]    |                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `code` in this scope
[INFO] [stdout]   --> src/basic/match_test.rs:55:48
[INFO] [stdout]    |
[INFO] [stdout] 55 |         _ => println!("Unrecognized Error {}", code)
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-workspace` due to 4 previous errors; 1 warning emitted
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: couldn't read main.rs: No such file or directory (os error 2)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-workspace` due to 4 previous errors
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/basic/collections/stack.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn new() -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `peek` is never used
[INFO] [stdout]   --> src/basic/collections/stack.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn peek(&self) -> Option<&T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `match`
[INFO] [stdout]   --> src/basic/match_test.rs:40:56
[INFO] [stdout]    |
[INFO] [stdout] 40 |     println!("Value: {}", value_in_cents(Coin::Nickel))
[INFO] [stdout]    |                                                        ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 50 |     match code {
[INFO] [stdout]    |     ----- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `length` is never used
[INFO] [stdout]   --> src/basic/collections/queue.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn length(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `active`, `email`, `strRef` and `sign_in_count` are never read
[INFO] [stdout]  --> src/basic/structs/struct_test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct User<'a> {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 4 |     active: bool,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 5 |     username: String,
[INFO] [stdout] 6 |     email: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 7 |     strRef: &'a str,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     sign_in_count: u64,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]   = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `code` in this scope
[INFO] [stdout]   --> src/basic/match_test.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 |     match code {
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `strRef` should have a snake case name
[INFO] [stdout]  --> src/basic/structs/struct_test.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     strRef: &'a str,
[INFO] [stdout]   |     ^^^^^^ help: convert the identifier to snake case: `str_ref`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `code` in this scope
[INFO] [stdout]   --> src/basic/match_test.rs:55:48
[INFO] [stdout]    |
[INFO] [stdout] 55 |         _ => println!("Unrecognized Error {}", code)
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-workspace` due to 4 previous errors
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-workspace` due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "06d9c15403520e4db51e603e25d60e2456212ee29b3ca7a6c9e49a88b35817a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06d9c15403520e4db51e603e25d60e2456212ee29b3ca7a6c9e49a88b35817a6", kill_on_drop: false }`
[INFO] [stdout] 06d9c15403520e4db51e603e25d60e2456212ee29b3ca7a6c9e49a88b35817a6
